package com.qf.dao;

import com.qf.entitys.Rider;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RiderMapper {
    int deleteByPrimaryKey(Integer riderId);

    Rider selectAllByloginName(String loginname);

    int insert(Rider record);

    int insertSelective(Rider record);

    Rider selectByPrimaryKey(Integer riderId);

    int updateByPrimaryKeySelective(Rider record);

    int updateByPrimaryKey(Rider record);

    Rider selectRiderByLoginName(String loginname);

    List<Rider> selectAll(Rider record);

    List<Rider> selectriderstatus0(Rider record);

    List<Rider> selectriderstatus2(Rider record);

    int updateRiderstatus(@Param("id") Integer id, @Param("status") Integer status);

    int delRiderstatus(Integer id);
}
